package com.xy.gateway.service.impl;


import java.util.List;
import java.util.Map;
import java.util.Date;
import com.xy.core.util.BeanUtil;
import com.xy.common.page.Pagination;
import com.xy.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.xy.gateway.dao.ReqparaextDao;
import com.xy.gateway.model.Reqparaext;
import com.xy.gateway.service.ReqparaextService;

@Service
@Transactional
public class ReqparaextServiceImpl extends BaseServiceImpl<Reqparaext> implements
		ReqparaextService {
	private ReqparaextDao reqparaextDao;

	public ReqparaextServiceImpl(ReqparaextDao paramAppRoleDao) {
		super(paramAppRoleDao);
		this.reqparaextDao = paramAppRoleDao;
	}

	@Override
	public boolean checkExist(String paraName, String paraValue) {
		return reqparaextDao.checkExist("Reqparaext", paraName, paraValue);
	}

	@Override
	public List<Reqparaext> getReqparaext(Map<String, Object> map) {
		return reqparaextDao.getReqparaext(map);
	}
	@Override
	public Pagination getReqparaextByPage(Map<String, Object> map, int pageNo,
			int pageSize) {
		// TODO Auto-generated method stub
		return reqparaextDao.getReqparaextByPage(map, pageNo, pageSize);
	}
	 
   @Override
	public Reqparaext save(Reqparaext reqparaext1) {return super.save(reqparaext1);}
}